package com.wavehi.service.impl;

import com.wavehi.mapper.BookMapper;
import com.wavehi.service.BookService;
import lombok.Setter;
import com.wavehi.pojo.Book;

/**
 * @Author WaveHi
 * @Date 14/10/2021 下午 9:52
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description
 */
@Setter
public class BookServiceImpl implements BookService {
    private BookMapper bm;
    @Override
    public Boolean add(Book book) {
        System.out.println("Book add!");
        return bm.insert(book);
    }
}
